package com.smarthealthring.mm.contract;

import com.smarthealthring.mm.base.IPresenter;
import com.smarthealthring.mm.base.IView;
import com.smarthealthring.mm.bean.HrDetailRes;
import com.smarthealthring.mm.bean.SleepDetailRes;

import java.util.Map;

/**
 * Created by bilibili on 2018/5/27.
 */

public interface SleepDetailContract {
    interface View extends IView {
        void getSleepDetailSuccess(SleepDetailRes res);
        void getSleepDetailFail();
    }

    interface Presenter extends IPresenter<SleepDetailContract.View> {
        void sleepDetail(Map<String, String> params);
    }
}
